﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Bricks.Site.Models
{
    /// <summary>
    /// 登录日志View
    /// </summary>
    public class LoginLogView
    {
        [Description("用户名")]
        [Display(Name = "用户名")]
        public string UserName { get; set; }

        [Description("姓名")]
        [Display(Name = "姓名")]
        public string RealName { get; set; }

        [Description("登录时间")]
        [Display(Name = "登录时间")]
        public DateTime LoginTime { get; set; }
    }

    /// <summary>
    /// 登录日志查询View
    /// </summary>
    public class LoginLogQueryView
    {
        public string UserName { get; set; }

        public string RealName { get; set; }

        public DateTime? LoginTimeStart { get; set; }

        public DateTime? LoginTimeEnd { get; set; }
    }
}
